package initialize

import (
	"counter-help/admin/server/global"
	"counter-help/admin/server/model/customer"
)

func bizModel() error {
	db := global.GVA_DB
	err := db.AutoMigrate(customer.CusAuth{}, customer.CusCustomization{}, customer.CusFeedback{}, customer.CusOrder{}, customer.CusOrderAssignments{}, customer.CusReminder{}, customer.CusSpread{}, customer.CusUser{})
	if err != nil {
		return err
	}
	return nil
}
